#ifndef STATUS_BAR_H
#define STATUS_BAR_H

#include "Obj.h"

class StatusBar : public Face {
	CC_PROPERTY(float, value, Value);
protected:
	Face* contentFace;
    cocos2d::Size contentFaceSize;
    Face* barFace;
private:
	StatusBar();
	~StatusBar();
    virtual bool init();
public:
    CREATE_FUNC(StatusBar);
    void initWithParameter(char * contentFrameName, char* barName);
};

#endif